<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>三点色子</title>
    <style>
      .box {
        width: 400px;
        height: 400px;
        border: 1px solid #000;
        display: flex;
        justify-content: space-around;
      }
      .one,
      .twe,
      .three {
        width: 100px;
        height: 100px;
        border: 1px solid #000;
        background-color: red;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      .twe {
        align-self: center; /*设置子元素位置*/
      }
      .three {
        align-self: flex-end; /*设置子元素位置*/
      }
    </style>
  </head>
  <body>
    <div class="box">
      <div class="one">1</div>
      <div class="twe">2</div>
      <div class="three">3</div>
    </div>
  </body>
</html>
